<div class="col-md-2 col-xs-height navshadow">
    <ul class="nav nav-sidebar" >
            <div class="image">
                <img src="<?php echo base_url("public/images/sidebar_logo.jpg"); ?>" alt="logo_image" width="150px" height="150px" class="img-circle">
                <h3>Trung taâm</h3>
            </div>



            <?php
            foreach ($typeCenters as $value) {
                ?>
                <li class="<?php if ($idType == $value['id_type_center']) echo 'center-active' ?>"><a href="<?php echo base_url('index.php/website/center/type/' . $value['id_type_center']); ?>" ><?php echo $value['name_type']; ?></a>

                    <?php
                }
                ?>

        </ul>
    </div>
   <div class="col-md-10 col-xs-height">  
    <div class="breadcrumbs" style="margin-top: 3%; margin-bottom: 1%;">
        <ul>
            <li><a href="<?php echo base_url("index.php/website/home"); ?>"><span class="glyphicon glyphicon-home"></span> Trang chủ</a></li>
            <li><a href="<?php echo base_url("index.php/website/thanhvien/registration"); ?>"><span class="glyphicon glyphicon-file"></span> Đăng ký</a></li>
        </ul>
    </div>
     <?php
     $attributes = array('class' => 'form-horizontal');
     echo form_open("website/thanhvien/registration/submit_registration", $attributes);
     ?>
    <div class="panel panel-primary">
        <!--<div class="form-group row">-->

        <div class="panel-heading" style="height: 45px !important;">
            <h5><b>Tạo tài khoản với Map Center</b></h5>
        </div>
        <br>
        <div style="text-align: center; font-size: 1.9em; color: red;">
            <label>Thông tin tài khoản</label>
        </div>

        <!--            <div class="col-xs-1"></div>-->
        <div class="form-group row">
            <div class="col-xs-1"></div>
            <div class="col-xs-10" style="margin-left: -43px;">
                <div class="form-group row">
                    <div class="col-xs-1"></div>
                    <div class="col-xs-3">
                        <label class="control-label" for="email_address">Email</label>
                    </div>
                    <div class="col-xs-8">
                        <input type="email" id="email_address" Class="form-control" placeholder="Email..."
                               name="email_address" value="<?php echo set_value('email_address'); ?>" />
                               <?php echo form_error('email_address', '<p class="text-danger" style="font-size:15px;">', '</p>'); ?>
                    </div>
                </div>
                <div class="form-group row">
                    <div class="col-xs-1"></div>
                    <div class="col-xs-3">
                        <label class="control-label" for="email">Confirm email</label>
                    </div>                        
                    <div class="col-xs-8">
                        <input type="email" id="con_email" Class="form-control" placeholder="Nhập lại Email ..."
                               name="con_email" value="<?php echo set_value('con_email'); ?>" />
                               <?php echo form_error('con_email', '<p class="text-danger" style="font-size:15px;">', '</p>'); ?>
                    </div>
                </div>

                <div class="form-group row">
                    <div class="col-xs-1"></div>
                    <div class="col-xs-3">
                        <label class="control-label" for="user_name">Username</label>
                    </div>
                    <div class="col-xs-8">
                        <input type="text" id="username" Class="form-control" placeholder="Tên đăng nhập của bạn..."
                               name="username" value="<?php echo set_value('username'); ?>" />
                               <?php echo form_error('username', '<p class="text-danger" style="font-size:15px;">', '</p>'); ?>
                    </div>
                </div>

                <div class="form-group row">
                    <div class="col-xs-1"></div>
                    <div class="col-xs-3">
                        <label class="control-label" for="password">Password</label>
                    </div>
                    <div class="col-xs-8">
                        <input type="password" id="password" Class="form-control" placeholder="Mật khẩu ..."
                               name="password" value="<?php echo set_value('password'); ?>" />
                               <?php echo form_error('password', '<p class="text-danger" style="font-size:15px;">', '</p>'); ?>
                    </div>

                </div>
                <div class="form-group row">
                    <div class="col-xs-1"></div>
                    <div class="col-xs-3">
                        <label class="control-label" for="con_password">Confirm password</label>
                    </div>
                    <div class="col-xs-8">
                        <input type="password" id="con_password" Class="form-control" placeholder="Nhập lại mật khẩu..."
                               name="con_password" value="<?php echo set_value('con_password'); ?>" />
                               <?php echo form_error('con_password', '<p class="text-danger" style="font-size:15px;">', '</p>'); ?>
                    </div>
                </div>

                <div class="form-group row">
                    <div class="col-xs-1"></div>
                    <div class="col-xs-3">
                        <label class="control-label" for="user_name">Lastname</label>
                    </div>
                    <div class="col-xs-8">
                        <input type="text" id="lastname" Class="form-control" placeholder="Họ của bạn..."
                               name="lastname" value="<?php echo set_value('lastname'); ?>" />
                               <?php echo form_error('last_name', '<p class="text-danger" style="font-size:15px;">', '</p>'); ?>
                    </div>
                </div>

                <div class="form-group row">
                    <div class="col-xs-1"></div>
                    <div class="col-xs-3">
                        <label class="control-label" for="user_name">Firstname</label>
                    </div>
                    <div class="col-xs-8">
                        <input type="text" id="firstname" Class="form-control" placeholder="Tên của bạn..."
                               name="firstname" value="<?php echo set_value('firstname'); ?>" />
                               <?php echo form_error('first_name', '<p class="text-danger" style="font-size:15px;">', '</p>'); ?>
                    </div>
                </div>

                <div class="form-group row">
                    <div class="col-xs-1"></div>
                    <div class="col-xs-3">
                        <label class="control-label" for="sexual">Giới tính</label>
                    </div>
                    <div class="col-xs-8">
                        <select type="text" id="sexual" Class="form-control"  name="sexual">
                            <option value="0">Nam</option>
                            <option value="1">Nữ</option>
                            <option value="2">Khác</option>
                        </select>
                        <?php echo form_error('sexual', '<p class="text-danger" style="font-size:15px;">', '</p>'); ?>
                    </div>
                </div>
            </div>
        </div>
        <!--</div>-->

        <div class="form-group" style="padding-top: 10px; margin-bottom: 80px;">
            <div class="col-xs-4"></div>
            <div class="col-xs-4">
                <button type="submit" class="btn btn-primary btn-lg btn-block" >Đăng ký</button>
            </div>
        </div>

        
    </div>
    <?php echo form_close(); ?>
</div>